<?php
namespace app\admin\controller;
use think\Controller;

class Admin extends Controller
{
	public function index()
	{
		//判断登陆状态
		if(!session('adminUser')){
			$this->redirect('/admin/login/index');
		}
		return $this->fetch('admin');
	}

}